POV-Ray : Newsgroups : povray.general : soft text : Re: soft text Server Time
12 Aug 2024 21:20:16 EDT (-0400)
  Re: soft text  
From: Ronald L  Parker
Date: 7 Feb 1999 13:00:08
Message: <36bdd3b7.396621@news.povray.org>
On Sat, 6 Feb 1999 13:34:43 +0100, "Rudy Velthuis" <rve### [at] gmxnet>
wrote:

>
>Ron Parker schrieb in Nachricht <36bb606c.0@news.povray.org>...
>>>Remco's program needs Windows to plot the given string onto the bitmap.
>>>Perhaps the freetype lib could do the same.
>>
>>Time to write a macro to do it with the superpatch and no external
                                 ^^^^^^^^^^^^^^^^^^^
>>code.  Parse time would probably suffer, though... :)
>
>
>If you can write a #macro to write a ttf to a bitmap and then read the
>individual pixels, be my guest. 

No need for a bitmap.  The superpatch has the trace( ) function and
the min_extent() and max_extent() functions.  You just loop over x and
y within the bounds of the text and every time you hit the text you
make a blob component.  piece o' cake.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.